package com.example.demospringboot.service.impl;

import java.util.List;

import org.springframework.stereotype.Service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.example.demospringboot.dao.UserDao;
import com.example.demospringboot.entity.User;
import com.example.demospringboot.service.IUserService;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author chenlei
 * @since 2019-11-22
 */
@Service
public class UserServiceImpl extends ServiceImpl<UserDao, User> implements IUserService {

	/* 
	 * @author chenlei
	 * @date 2019-11-23
	 * @description 
	 * @see com.example.demospringboot.service.IUserService#queryList(com.baomidou.mybatisplus.extension.plugins.pagination.Page)
	 */
	@Override
	public List<User> queryList(Page<User> page,User user) {
		return baseMapper.queryList(page,user);
	}

}
